<?php
namespace app\admin\controller;
use think\Controller;
use think\Db;


class Article extends Intercept
{
    public function index()
    {
        try {
            return $this->fetch('index');
        } catch (\Exception $e) {
            echo $e->getMessage();
        }
    }

    public function upload(){
        var_dump($_POST);exit();
    }

    public function add()
    {
        try {
            return $this->fetch();
        } catch (\Exception $e) {
            echo $e->getMessage();
        }
    }

    public function updateData(){

    }



}
